package main

import "fmt"

func dump(label string, slice []string) {
	fmt.Printf("%v:length %v,capacity %v %v\n", label, len(slice), cap(slice), slice)
}
func main() {
	planets := []string{"Ceres", "Pluto", "Haumea", "Makemake", "Eris"}
	planets = append(planets, "Orcus")
	planets = append(planets, "Orcus", "Orcus1", "Orcus2", "Orcus3")
	fmt.Println(planets)
	dump("planets", planets)
	dump("planets[1:2]", planets[1:2])
}
